package com.hdax.dm.mapstucts;

import com.hdax.dm.beans.user.User;
import com.hdax.dm.dto.loginDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "Spring")
public abstract class loginDtoMapper {

    public abstract loginDto toTarget(User source);

    public abstract List<loginDto> toTargetList(List<User> sources);
}
